package com.commerceE.service;

import java.util.List;

import com.commerceE.common.exception.ServiceException;
import com.commerceE.domain.Page;
import com.commerceE.domain.Products;
import com.commerceE.vo.ProductSearchVo;

public interface ProductService {
	
	public void insertProduct(Products product) throws ServiceException;
	
	public List<Products> getAllListOfProduct() throws ServiceException;
	
	public Products getProductWithImagesById(Long productId) throws ServiceException;
	
//	public List<Products> getAllListOfProductByConditions(ProductSearchVo productSearchVo) throws ServiceException;
	
	public Products getProductById(Long productId) throws ServiceException;
	
	public void updateProduct(Products product) throws ServiceException;
	
	public void deleteProduct(Long productId) throws ServiceException;
	
	public List<Products> getProductListWithImage() throws ServiceException;
	
	public List<Products> getAllListOfProductByConditions(ProductSearchVo productVO, Page page);

}
